package com.hy.solr.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class StaticData {


    /**
     * solr core名字
     */
    public static String SOLRCORE;

    @Value("${solrcore}")
    public void setSolrcore(String solrcore) {
        StaticData.SOLRCORE = solrcore;
    }
}
